﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HookupAppForm.Dto
{
    public class CreateHKP_SubmainDto
    {
        /// <summary>
        /// 管道编号
        /// </summary>
        public string SubmainNo { get; set; }
        /// <summary>
        /// 管道系统名称
        /// </summary>
        public string SubmainName { get; set; }
        /// <summary>
        /// 设计流量负荷
        /// </summary>
        public decimal FlowPeak { get; set; }
        /// <summary>
        /// 操作流量负荷
        /// </summary>
        public decimal FlowPeakOperation { get; set; }
        /// <summary>
        /// 平均流量
        /// </summary>        
        public decimal FlowAvg { get; set; }
        /// <summary>
        /// 最小流量
        /// </summary>        
        public decimal FlowMin { get; set; }
        public string FlowUnit { get; set; }
        /// <summary>
        /// 设计压力负荷
        /// </summary>
        public decimal PressurePeak { get; set; }
        /// <summary>
        /// 操作压力负荷
        /// </summary>
        public decimal PressurePeakOper { get; set; }
        /// <summary>
        /// 平均压力
        /// </summary>
        public decimal PressureAvg { get; set; }
        /// <summary>
        /// 最小压力
        /// </summary>
        public decimal PressureMin { get; set; }
        /// <summary>
        /// 压力单位
        /// </summary>
        public string PressureUnit { get; set; }
        /// <summary>
        /// 设计功率负荷
        /// </summary>
        public decimal Power { get; set; }
        /// <summary>
        /// 操作功率负荷
        /// </summary>
        public decimal PowerOper { get; set; }
        /// <summary>
        /// 平均功率
        /// </summary>
        public decimal PowerAvg { get; set; }
        /// <summary>
        /// 最小功率
        /// </summary>
        public decimal PowerMin { get; set; }
        /// <summary>
        /// 功率单位
        /// </summary>
        public string PowerUnit { get; set; }
        /// <summary>
        /// 所属系统
        /// </summary>
        public Guid SystemId { get; set; }
        public string Remark { get; set; }
        /// <summary>
        /// 长度
        /// </summary>
        public decimal Length { get; set; }
        /// <summary>
        /// 宽度
        /// </summary>
        public decimal Width { get; set; }
        public decimal X { get; set; }
        /// <summary>
        /// 宽度
        /// </summary>
        public decimal Y { get; set; }
        /// <summary>
        /// 建筑
        /// </summary>
        public string Building { get; set; }
        /// <summary>
        /// 楼层
        /// </summary>
        public string Floor { get; set; }

        /// <summary>
        /// 管道总的接点数量
        /// </summary>
        public int Allpoint { get; set; }
       

    }
    public class HKP_SubmainDto
    {
        public Guid Id { get; set; }
        /// <summary>
        /// 管道编号
        /// </summary>
        public string SubmainNo { get; set; }
        /// <summary>
        /// 管道系统名称
        /// </summary>
        public string SubmainName { get; set; }
        /// <summary>
        /// 设计流量负荷
        /// </summary>
        public decimal FlowPeak { get; set; }
        /// <summary>
        /// 操作流量负荷
        /// </summary>
        public decimal FlowPeakOperation { get; set; }
        /// <summary>
        /// 平均流量
        /// </summary>        
        public decimal FlowAvg { get; set; }
        /// <summary>
        /// 最小流量
        /// </summary>        
        public decimal FlowMin { get; set; }
        public string FlowUnit { get; set; }
        /// <summary>
        /// 设计压力负荷
        /// </summary>
        public decimal PressurePeak { get; set; }
        /// <summary>
        /// 操作压力负荷
        /// </summary>
        public decimal PressurePeakOper { get; set; }
        /// <summary>
        /// 平均压力
        /// </summary>
        public decimal PressureAvg { get; set; }
        /// <summary>
        /// 最小压力
        /// </summary>
        public decimal PressureMin { get; set; }
        /// <summary>
        /// 压力单位
        /// </summary>
        public string PressureUnit { get; set; }
        /// <summary>
        /// 设计功率负荷
        /// </summary>
        public decimal Power { get; set; }
        /// <summary>
        /// 操作功率负荷
        /// </summary>
        public decimal PowerOper { get; set; }
        /// <summary>
        /// 平均功率
        /// </summary>
        public decimal PowerAvg { get; set; }
        /// <summary>
        /// 最小功率
        /// </summary>
        public decimal PowerMin { get; set; }
        /// <summary>
        /// 功率单位
        /// </summary>
        public string PowerUnit { get; set; }
        /// <summary>
        /// 所属系统
        /// </summary>
        public Guid SystemId { get; set; }
        public string SysNo { get; set; }
        public string Remark { get; set; }
        /// <summary>
        /// 长度
        /// </summary>
        public decimal Length { get; set; }
        /// <summary>
        /// 宽度（）
        /// </summary>
        public decimal Width { get; set; }
        public decimal X { get; set; }
        /// <summary>
        /// 宽度
        /// </summary>
        public decimal Y { get; set; }

        /// <summary>
        /// 建筑
        /// </summary>
        public string Building { get; set; }//25
        /// <summary>
        /// 楼层
        /// </summary>
        public string Floor { get; set; }
        /// <summary>
        /// 管道总的接点数量
        /// </summary>
        public int Allpoint { get; set; }
        /// <summary>
        /// 管道已使用接点数量
        /// </summary>
        public int usedpoint { get; set; }
        /// <summary>
        /// 已使用容量
        /// </summary>
        public decimal numUsedFlow { get; set; }
    }
}
